<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>Stat | ts</title>
	<meta name="description" content="Documentation for ts">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">ts</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="../modules/_laya_utils_stat_.html">&quot;laya/utils/Stat&quot;</a>
				</li>
				<li>
					<a href="_laya_utils_stat_.stat.html">Stat</a>
				</li>
			</ul>
			<h1>Class Stat</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p> <code>Stat</code> 是一个性能统计面板，可以实时更新相关的性能参数。</p>
						<p>参与统计的性能参数如下（所有参数都是每大约1秒进行更新）：<br/>
							FPS(WebGL)：WebGL 模式下的帧频，也就是每秒显示的帧数，值越高、越稳定，感觉越流畅；<br/>
							Sprite：统计所有渲染节点（包括容器）数量，它的大小会影响引擎进行节点遍历、数据组织和渲染的效率。其值越小，游戏运行效率越高；<br/>
							DrawCall：此值是决定性能的重要指标，其值越小，游戏运行效率越高。Canvas模式下表示每大约1秒的图像绘制次数；WebGL模式下表示每大约1秒的渲染提交批次，每次准备数据并通知GPU渲染绘制的过程称为1次DrawCall，在每次DrawCall中除了在通知GPU的渲染上比较耗时之外，切换材质与shader也是非常耗时的操作；<br/>
							CurMem：Canvas模式下，表示内存占用大小，值越小越好，过高会导致游戏闪退；WebGL模式下，表示内存与显存的占用，值越小越好；<br/>
							Shader：是 WebGL 模式独有的性能指标，表示每大约1秒 Shader 提交次数，值越小越好；<br/>
						Canvas：由三个数值组成，只有设置 CacheAs 后才会有值，默认为0/0/0。从左到右数值的意义分别为：每帧重绘的画布数量 / 缓存类型为"normal"类型的画布数量 / 缓存类型为"bitmap"类型的画布数量。</p>
					</div>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="target">Stat</span>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Properties</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_utils_stat_.stat.html#fps" class="tsd-kind-icon">FPS</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_utils_stat_.stat.html#canvasbitmap" class="tsd-kind-icon">canvas<wbr>Bitmap</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_utils_stat_.stat.html#canvasnormal" class="tsd-kind-icon">canvas<wbr>Normal</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_utils_stat_.stat.html#canvasrecache" class="tsd-kind-icon">canvas<wbr>ReCache</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_utils_stat_.stat.html#cpumemory" class="tsd-kind-icon">cpu<wbr>Memory</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_utils_stat_.stat.html#frustumculling" class="tsd-kind-icon">frustum<wbr>Culling</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_utils_stat_.stat.html#gpumemory" class="tsd-kind-icon">gpu<wbr>Memory</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_utils_stat_.stat.html#loopcount" class="tsd-kind-icon">loop<wbr>Count</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_utils_stat_.stat.html#octreenodeculling" class="tsd-kind-icon">octree<wbr>Node<wbr>Culling</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_utils_stat_.stat.html#renderbatches" class="tsd-kind-icon">render<wbr>Batches</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_utils_stat_.stat.html#renderslow" class="tsd-kind-icon">render<wbr>Slow</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_utils_stat_.stat.html#savedrenderbatches" class="tsd-kind-icon">saved<wbr>Render<wbr>Batches</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_utils_stat_.stat.html#shadercall" class="tsd-kind-icon">shader<wbr>Call</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_utils_stat_.stat.html#spritecount" class="tsd-kind-icon">sprite<wbr>Count</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_utils_stat_.stat.html#spriterenderusecachecount" class="tsd-kind-icon">sprite<wbr>Render<wbr>Use<wbr>Cache<wbr>Count</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_utils_stat_.stat.html#trianglesfaces" class="tsd-kind-icon">triangles<wbr>Faces</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Accessors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-set-signature tsd-parent-kind-class tsd-is-static"><a href="_laya_utils_stat_.stat.html#onclick" class="tsd-kind-icon">onclick</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_utils_stat_.stat.html#enable" class="tsd-kind-icon">enable</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_utils_stat_.stat.html#hide" class="tsd-kind-icon">hide</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_utils_stat_.stat.html#show" class="tsd-kind-icon">show</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Properties</h2>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="fps" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> FPS</h3>
					<div class="tsd-signature tsd-kind-icon">FPS<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/1e27d6b9/src/layaAir/laya/utils/Stat.ts#L14">laya/utils/Stat.ts:14</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>每秒帧数。</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="canvasbitmap" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> canvas<wbr>Bitmap</h3>
					<div class="tsd-signature tsd-kind-icon">canvas<wbr>Bitmap<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/1e27d6b9/src/layaAir/laya/utils/Stat.ts#L37">laya/utils/Stat.ts:37</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>画布 canvas 使用位图渲染的次数。</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="canvasnormal" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> canvas<wbr>Normal</h3>
					<div class="tsd-signature tsd-kind-icon">canvas<wbr>Normal<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/1e27d6b9/src/layaAir/laya/utils/Stat.ts#L35">laya/utils/Stat.ts:35</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>画布 canvas 使用标准渲染的次数。</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="canvasrecache" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> canvas<wbr>ReCache</h3>
					<div class="tsd-signature tsd-kind-icon">canvas<wbr>ReCache<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/1e27d6b9/src/layaAir/laya/utils/Stat.ts#L39">laya/utils/Stat.ts:39</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>画布 canvas 缓冲区重绘次数。</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="cpumemory" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> cpu<wbr>Memory</h3>
					<div class="tsd-signature tsd-kind-icon">cpu<wbr>Memory<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/1e27d6b9/src/layaAir/laya/utils/Stat.ts#L44">laya/utils/Stat.ts:44</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="frustumculling" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> frustum<wbr>Culling</h3>
					<div class="tsd-signature tsd-kind-icon">frustum<wbr>Culling<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/1e27d6b9/src/layaAir/laya/utils/Stat.ts#L30">laya/utils/Stat.ts:30</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>视锥剔除次数。</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="gpumemory" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> gpu<wbr>Memory</h3>
					<div class="tsd-signature tsd-kind-icon">gpu<wbr>Memory<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/1e27d6b9/src/layaAir/laya/utils/Stat.ts#L43">laya/utils/Stat.ts:43</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>资源管理器所管理资源的累计内存,以字节为单位。</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="loopcount" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> loop<wbr>Count</h3>
					<div class="tsd-signature tsd-kind-icon">loop<wbr>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/1e27d6b9/src/layaAir/laya/utils/Stat.ts#L16">laya/utils/Stat.ts:16</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>主舞台 <code>Stage</code> 渲染次数计数。</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="octreenodeculling" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> octree<wbr>Node<wbr>Culling</h3>
					<div class="tsd-signature tsd-kind-icon">octree<wbr>Node<wbr>Culling<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/1e27d6b9/src/layaAir/laya/utils/Stat.ts#L32">laya/utils/Stat.ts:32</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>八叉树节点剔除次数。</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="renderbatches" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> render<wbr>Batches</h3>
					<div class="tsd-signature tsd-kind-icon">render<wbr>Batches<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/1e27d6b9/src/layaAir/laya/utils/Stat.ts#L20">laya/utils/Stat.ts:20</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>渲染批次。</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="renderslow" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> render<wbr>Slow</h3>
					<div class="tsd-signature tsd-kind-icon">render<wbr>Slow<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/1e27d6b9/src/layaAir/laya/utils/Stat.ts#L41">laya/utils/Stat.ts:41</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>表示当前使用的是否为慢渲染模式。</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="savedrenderbatches" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> saved<wbr>Render<wbr>Batches</h3>
					<div class="tsd-signature tsd-kind-icon">saved<wbr>Render<wbr>Batches<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/1e27d6b9/src/layaAir/laya/utils/Stat.ts#L22">laya/utils/Stat.ts:22</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>节省的渲染批次。</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="shadercall" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> shader<wbr>Call</h3>
					<div class="tsd-signature tsd-kind-icon">shader<wbr>Call<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/1e27d6b9/src/layaAir/laya/utils/Stat.ts#L18">laya/utils/Stat.ts:18</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>着色器请求次数。</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="spritecount" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> sprite<wbr>Count</h3>
					<div class="tsd-signature tsd-kind-icon">sprite<wbr>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/1e27d6b9/src/layaAir/laya/utils/Stat.ts#L26">laya/utils/Stat.ts:26</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>精灵<code>Sprite</code> 的数量。</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="spriterenderusecachecount" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> sprite<wbr>Render<wbr>Use<wbr>Cache<wbr>Count</h3>
					<div class="tsd-signature tsd-kind-icon">sprite<wbr>Render<wbr>Use<wbr>Cache<wbr>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/1e27d6b9/src/layaAir/laya/utils/Stat.ts#L28">laya/utils/Stat.ts:28</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>精灵渲染使用缓存<code>Sprite</code> 的数量。</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="trianglesfaces" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> triangles<wbr>Faces</h3>
					<div class="tsd-signature tsd-kind-icon">triangles<wbr>Faces<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/1e27d6b9/src/layaAir/laya/utils/Stat.ts#L24">laya/utils/Stat.ts:24</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>三角形面数。</p>
						</div>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Accessors</h2>
				<section class="tsd-panel tsd-member tsd-kind-set-signature tsd-parent-kind-class tsd-is-static">
					<a name="onclick" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> onclick</h3>
					<ul class="tsd-signatures tsd-kind-set-signature tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> onclick<span class="tsd-signature-symbol">(</span>fn<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/1e27d6b9/src/layaAir/laya/utils/Stat.ts#L93">laya/utils/Stat.ts:93</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>点击性能统计显示区域的处理函数。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>fn: <span class="tsd-signature-type">Function</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="enable" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> enable</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">enable<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/1e27d6b9/src/layaAir/laya/utils/Stat.ts#L71">laya/utils/Stat.ts:71</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>激活性能统计</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="hide" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> hide</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">hide<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/1e27d6b9/src/layaAir/laya/utils/Stat.ts#L78">laya/utils/Stat.ts:78</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>隐藏性能统计信息。</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="show" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> show</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">show<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/1e27d6b9/src/layaAir/laya/utils/Stat.ts#L65">laya/utils/Stat.ts:65</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>显示性能统计信息。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> x: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>X轴显示位置。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> y: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>Y轴显示位置。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
					<li class="current tsd-kind-module">
						<a href="../modules/_laya_utils_stat_.html">&quot;laya/utils/<wbr>Stat&quot;</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class tsd-parent-kind-module">
						<a href="_laya_utils_stat_.stat.html" class="tsd-kind-icon">Stat</a>
						<ul>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_utils_stat_.stat.html#fps" class="tsd-kind-icon">FPS</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_utils_stat_.stat.html#canvasbitmap" class="tsd-kind-icon">canvas<wbr>Bitmap</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_utils_stat_.stat.html#canvasnormal" class="tsd-kind-icon">canvas<wbr>Normal</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_utils_stat_.stat.html#canvasrecache" class="tsd-kind-icon">canvas<wbr>ReCache</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_utils_stat_.stat.html#cpumemory" class="tsd-kind-icon">cpu<wbr>Memory</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_utils_stat_.stat.html#frustumculling" class="tsd-kind-icon">frustum<wbr>Culling</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_utils_stat_.stat.html#gpumemory" class="tsd-kind-icon">gpu<wbr>Memory</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_utils_stat_.stat.html#loopcount" class="tsd-kind-icon">loop<wbr>Count</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_utils_stat_.stat.html#octreenodeculling" class="tsd-kind-icon">octree<wbr>Node<wbr>Culling</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_utils_stat_.stat.html#renderbatches" class="tsd-kind-icon">render<wbr>Batches</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_utils_stat_.stat.html#renderslow" class="tsd-kind-icon">render<wbr>Slow</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_utils_stat_.stat.html#savedrenderbatches" class="tsd-kind-icon">saved<wbr>Render<wbr>Batches</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_utils_stat_.stat.html#shadercall" class="tsd-kind-icon">shader<wbr>Call</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_utils_stat_.stat.html#spritecount" class="tsd-kind-icon">sprite<wbr>Count</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_utils_stat_.stat.html#spriterenderusecachecount" class="tsd-kind-icon">sprite<wbr>Render<wbr>Use<wbr>Cache<wbr>Count</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_utils_stat_.stat.html#trianglesfaces" class="tsd-kind-icon">triangles<wbr>Faces</a>
							</li>
							<li class=" tsd-kind-set-signature tsd-parent-kind-class tsd-is-static">
								<a href="_laya_utils_stat_.stat.html#onclick" class="tsd-kind-icon">onclick</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_laya_utils_stat_.stat.html#enable" class="tsd-kind-icon">enable</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_laya_utils_stat_.stat.html#hide" class="tsd-kind-icon">hide</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_laya_utils_stat_.stat.html#show" class="tsd-kind-icon">show</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer>
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>